// pages/Booklist/booklist.js
Page({
    data: {
        BooktData:[],
    },
    onLoad(options) {
        var that = this
        wx.request({
            url: 'http://127.0.0.1:3000/Booklist',
            method: "get",
            success: function (res) {
                console.log(res.data)
                that.setData({BooktData: res.data})       
            }
        })    
    },
})